package com.easygem.business.service;

import com.easygem.business.mapper.AccountMapper;
import com.easygem.business.service.base.IBaseService;
import com.easygem.common.model.business.Account;
import com.easygem.common.vo.business.AccountVO;
import com.easygem.common.vo.system.PageVO;

/**
 * @author 何维佳
 * @version 1.0
 * @className AccountService
 * @Description TODO
 * @date 2025/1/13 14:10
 */
public interface AccountService extends IBaseService<AccountMapper, Account, Integer> {
    PageVO<Account> findList(Integer pageNum, Integer pageSize, AccountVO accountVO);

    int update(AccountVO accountVO);

    int delete(Long Id);

    int deleteUserByAccountName(String accountName);

    int updateUserByAccountName(String accountName);

    int findAccountName(String accountName);

    int addAccount(AccountVO accountVO);

    int chackCircuritIdIsChange(AccountVO accountVO);

    int updateUserCircuritIdByAccountName(AccountVO accountVO);
}
